Commit ad163ef6 authored by Nathan Scott's avatar Nathan Scott Committed by Linus Torvalds

[PATCH] xattr updates (minor, 4/4)

This final patch is a simple documentation fixup patch filling
in the blanks for the extended attribute interfaces; and fixes
a typo in the same spot: "permission".

Nathan
parent 42b1337f
...@@ -45,6 +45,10 @@ prototypes: ...@@ -45,6 +45,10 @@ prototypes:
int (*revalidate) (struct dentry *); int (*revalidate) (struct dentry *);
int (*setattr) (struct dentry *, struct iattr *); int (*setattr) (struct dentry *, struct iattr *);
int (*getattr) (struct dentry *, struct iattr *); int (*getattr) (struct dentry *, struct iattr *);
int (*setxattr) (struct dentry *, const char *, void *, size_t, int);
ssize_t (*getxattr) (struct dentry *, const char *, void *, size_t);
ssize_t (*listxattr) (struct dentry *, char *, size_t);
int (*removexattr) (struct dentry *, const char *);
locking rules: locking rules:
all may block all may block
...@@ -61,12 +65,13 @@ readlink: no no ...@@ -61,12 +65,13 @@ readlink: no no
follow_link: no no follow_link: no no
truncate: no yes (see below) truncate: no yes (see below)
setattr: yes if ATTR_SIZE setattr: yes if ATTR_SIZE
permssion: yes no permission: yes no
getattr: (see below) getattr: (see below)
revalidate: no (see below) revalidate: no (see below)
setxattr: DOCUMENT_ME setxattr: yes no
getxattr: DOCUMENT_ME getxattr: yes no
removexattr: DOCUMENT_ME listxattr: yes no
removexattr: yes no
Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_sem on Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_sem on
victim. victim.
cross-directory ->rename() has (per-superblock) ->s_vfs_rename_sem. cross-directory ->rename() has (per-superblock) ->s_vfs_rename_sem.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment