Whamcloud - gitweb
libe2p: Use lstat() instead of stat() in fsetflags() and fgetflags()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 22 Oct 2007 05:36:13 +0000 (01:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Oct 2007 12:05:44 +0000 (08:05 -0400)
commit1a4ce9df5884405a7152855b868c3a7bfbeec385
tree0af125d3743004b75fd9ac493941f04940d4ba17
parent042a27f8230804062016194ce151baa6cfff034e
libe2p: Use lstat() instead of stat() in fsetflags() and fgetflags()

We can't set the flags on symbolic links, so check for them using
lstat().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/e2p/fgetflags.c
lib/e2p/fsetflags.c