[Top] [All Lists]

Re: DMAPI remove event

To: "James A Goodwin" <jagoodwi@xxxxxxxxxx>
Subject: Re: DMAPI remove event
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Mon, 11 Feb 2002 13:40:26 -0600
Cc: linux-xfs@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
>From:  "James A Goodwin" <jagoodwi@xxxxxxxxxx>
>When receiving a 'remove' event using the DMAPI the mode is always returned
>as 0 (actually it's the ne_mode field of the dm_namesp_event_t extracted
>from the event).  This makes it impossible to determine if the event refers
>to a file, directory, symlink, etc.
>I don't know if this is a problem with other types of DMAPI events as well,
>but it is serious.

Serious?  I'm not sure you've ever come up with a minor problem for me :)

>Is this an easy fix?

I see that the mode comes in the POSTREMOVE event, and that we'll have to
rearrange some code to get it into the REMOVE event.  I'll play with it a bit.


<Prev in Thread] Current Thread [Next in Thread>