Merge tag 'mac80211-for-davem-2015-05-04' of git://git.kernel.org/pub/scm/linux/kerne...
[deliverable/linux.git] / fs / sysv / file.c
index a48e30410ad1979eaf1068cd59ddfa2dcc89c69a..82ddc09061e2891cec1a877d43dc2c248719114e 100644 (file)
@@ -30,7 +30,7 @@ const struct file_operations sysv_file_operations = {
 
 static int sysv_setattr(struct dentry *dentry, struct iattr *attr)
 {
-       struct inode *inode = dentry->d_inode;
+       struct inode *inode = d_inode(dentry);
        int error;
 
        error = inode_change_ok(inode, attr);
This page took 0.051512 seconds and 5 git commands to generate.